package com.lanou.dllo.mynovel.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.lanou.dllo.mynovel.R;
import com.lanou.dllo.mynovel.fragment.StoreUpdateFragment;
import com.lanou.dllo.mynovel.fragment.UserFragment;


/**
 * Created by dllo on 15/10/30.
 */
public class EntryActivity extends Activity implements View.OnClickListener {

    private ImageView entryBack;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_entry);

        entryBack = (ImageView) findViewById(R.id.entryBack);
        entryBack.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.entryBack:
                backUser();
                break;
        }
    }

    public void backUser() {
//        Intent intent = new Intent(this, UserFragment.class);
//        startActivity(intent);
        finish();
    }
}
